package com.kinghunt.misp.common.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * 字段、方法的注释
 */
@Target({ElementType.FIELD, ElementType.METHOD, ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
public @interface Annotation {
    /**
     * 名称
     * @return
     */
    String name() default "";

    /**
     * 描述
     * @return
     */
    String description() default "";
}
